package com.ruoyi.business.service.koc;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.dto.admin.user.AdjustUserPointsDTO;
import com.ruoyi.business.domain.dto.admin.user.UserKocSetDTO;
import com.ruoyi.business.domain.dto.api.user.UpdateUserDTO;
import com.ruoyi.business.domain.koc.TbUser;
import com.ruoyi.business.domain.vo.business.TbUserDetailVO;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;

public interface ITbUserService extends IService<TbUser> {

    TableDataInfo<TbUser> selectPageList(TbUser user, PageQuery pageQuery);

    int setUserKocLevel(UserKocSetDTO dto);

    int updateUserInfo(UpdateUserDTO dto);

    TbUser selectByIdForUpdate(Long id);

    boolean adjustUserPoints(AdjustUserPointsDTO dto);

    TbUserDetailVO getUserDetailById(Long id);

}
